<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
    <title>个人中心</title>
    <#include "/common/head.html" />
    <link rel="stylesheet" href="${base}/css/personCenter.css" />
</head>
<body>
	<!--顶部导航-->
	<header class="mui-bar mui-bar-nav">
		<h1 id="title" class="mui-title">个人中心</h1>
	</header>
	<div class="top">
		<div class="userMessage">
			<img src="${base}/image/head.png" alt="" />
			<span class="userName">${account.nickName}</span>
            <span class="userSchool"><i class="icon iconfont icon-ditu"></i><#if tSchool??>${tSchool.schoolName}</#if></span>
		</div>
		<div class="taskmsg clearfix">
			<div class="taskmsgList">
				<span class="taskMainTxt"><#if sendcount??>${sendcount}<#else>0</#if></span>
				<span class="taskSubTxt">发单总数</span>
			</div>
			<div class="taskmsgList">
				<span class="taskMainTxt"><#if sendcount??>${sums}<#else>0</#if></span>
				<span class="taskSubTxt">收益总数</span>
			</div>
			<div class="taskmsgList">
				<span class="taskMainTxt"><#if accepts??>${accepts}<#else>0</#if></span>
				<span class="taskSubTxt">接单总数</span>
			</div>
		</div>
	</div>
	<!--个人信息分类-->
	<div class="userClass">
		<div class="userClassSectionOne">
			<div class="userClassList" data-url="${base}/order/mineObtainOrder.html">我的发单</div>
			<div class="userClassList" data-url="${base}/order/mineOrder.html">我的接单</div>
			<div class="userClassList" data-url="${base}/order/mineProfit.html">我的收益</div>
		</div>
		<div class="userClassSectionOne">
			<div class="userClassList" data-url="${base}/myhome/mineSchool.html">我的学校</div>
			<div class="userClassList" data-url="${base}/inviteFriend.html">邀请好友</div>
			<div class="userClassList" data-url="${base}/loginout">退出登录</div>
		</div>
	</div>
	<!--底部导航-->
    <#include "/common/footer.html" />
</body>

<script type="text/javascript">
    mui(".userClass").on('tap','.userClassList',function(){
        var url = this.getAttribute("data-url");
        mui.openWindow({
            url:url
        });
    });
</script>

</html>